package com.book.manager.dto;


/**
 * @author Zhifeng.Zeng
 * @description oauth2客户端token参数
 * @date 2019/3/8
 */
public class Token {

    /**
     * access_token : 838463a7-914e-486f-b166-2976359412a0
     * refresh_token : b7370c64-10c1-4c41-a617-bb5b4fdff49e
     * scope : all
     * token_type : bearer
     * expires_in : 307
     */
    private String access_token;
    private String refresh_token;
    private String scope;
    private String token_type;
    private int expires_in;

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public void setRefresh_token(String refresh_token) {
        this.refresh_token = refresh_token;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public void setToken_type(String token_type) {
        this.token_type = token_type;
    }

    public void setExpires_in(int expires_in) {
        this.expires_in = expires_in;
    }

    public String getAccess_token() {
        return access_token;
    }

    public String getRefresh_token() {
        return refresh_token;
    }

    public String getScope() {
        return scope;
    }

    public String getToken_type() {
        return token_type;
    }

    public int getExpires_in() {
        return expires_in;
    }
}
